WprAddons\Modules\ContentToggle\Widgets\Wpr_Content_Toggle S

Total Complexity 45
Dependencies 5
Dependents 0
Total lines 1,310
Lines of code 1,145
Logical lines of code 166
Comment lines 20
Methods 18
Properties 0

Methods 18

Method Rating Maintainability Complexity Lines of code
register_controls()
D
10
1 920
wpr_dual_switcher()
A
43 9 53
wpr_dual_switcher_inner_text()
A
48 7 45
wpr_dual_switcher_outer_text()
A
49 7 39
wpr_switcher_template()
S
57 5 15
render()
S
61 3 13
add_control_switcher_label_style()
S
56 1 19
add_control_switcher_style()
S
59 1 16
get_custom_help_url()
S
76 2 4
add_repeater_switcher_items()
S
98 1 1
get_title()
S
79 1 3
add_section_settings()
S
98 1 1
get_style_depends()
S
81 1 3
wpr_multi_switcher()
S
98 1 1
get_keywords()
S
78 1 3
get_categories()
S
81 1 3
get_icon()
S
82 1 3
get_name()
S
82 1 3